package com.snjx.netty.chat.util;

import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

/**
 * @ClassName GlobalUserUtil
 * @Author yunlong.zhang
 * @Date 2018/11/13
 * @since: JDK 1.8
 * @Description //TODO
 **/
public class GlobalUserUtil {
    //保存全局的  所有连接上服务器的客户
    public static ChannelGroup channels = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);

}
